package com.bristua.common.controller;

import com.bristua.common.bean.CommonQueryParams;
import com.bristua.common.bean.Result;
import com.bristua.common.biz.AddAppIndexImgBiz;
import com.bristua.common.biz.FeedbackBiz;
import com.bristua.common.dao.TIndexImgMapper;
import com.bristua.common.model.TIndexImg;
import com.bristua.common.model.condition.TIndexImgExample;
import com.bristua.common.utils.HandleResultUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;


@Controller
@Api(value="意见反馈管理",tags={"意见反馈管理"})
public class FeedbackController {



    @Autowired
    private FeedbackBiz feedbackBiz;


    @ApiOperation("意见反馈列表")
    @PostMapping(value="/admin/feedback/query")
    @ResponseBody
    public Result addAppIndexImg(@RequestBody CommonQueryParams commonQueryParams){
        return HandleResultUtil.querySuccessResult(feedbackBiz.queryFeedback(commonQueryParams));
    }



}
